package pong.ui.element;

import java.awt.Graphics;

@SuppressWarnings("serial")
public class PongBat extends PongElement{

	private static final int DEFAULT_BAT_WIDTH = 20;
	
	private static final int DEFAULT_BAT_HEIGHT = 140;

	@Override
	public void draw(Graphics g) {
		g.draw3DRect((int) position.getX(), 
				(int) position.getY(), DEFAULT_BAT_WIDTH, DEFAULT_BAT_HEIGHT, true);
	}
}
